package com.fl.mapper;

import com.fl.dto.OrdersDo;
import com.fl.entity.Orders;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.factory.Mappers;

@Mapper
public interface OrdersHelper {

    OrdersHelper INSTANCE = Mappers.getMapper(OrdersHelper.class);

    Orders transformInit(@MappingTarget Orders orders , OrdersDo orderDo);
    OrdersDo transform4Update(@MappingTarget OrdersDo orderDo , Orders orders);
}
